package com.campus.mapper;

import com.campus.entity.CommentLikes;
import org.apache.ibatis.annotations.Param;

public interface CommentLikesMapper {
    int insert(CommentLikes commentLikes);
    
    int deleteByCommentIdAndUserId(@Param("commentId") String commentId, @Param("userId") String userId);
    
    CommentLikes selectByCommentIdAndUserId(@Param("commentId") String commentId, @Param("userId") String userId);
    
    int countByCommentId(String commentId);
}